package com.ashbur.springframework.beans.factory;

import com.ashbur.springframework.beans.BeansException;

/**
 * Bean生成工厂
 * @author eumenides
 */
public interface BeanFactory {

    /**
     * 获取Bean
     * @param name bean名称
     * @return bean实例
     * @throws BeansException bean异常
     */
    Object getBean(String name) throws BeansException;

}
